Skip to content

Add missing l and L suffixes in int32 and int64 printers for both Lin and STM #562

Merged
jmid merged 3 commits into
mainfrom
fix-int64-print
Jun 25, 2025
Merged

Add missing l and L suffixes in int32 and int64 printers for both Lin and STM #562
jmid merged 3 commits into
mainfrom
fix-int64-print

Conversation

@jmid

@jmid jmid commented Jun 25, 2025

Copy link
Copy Markdown
Collaborator

This PR adds missing l and L suffixes in int32 and int64 printers for both Lin and STM,
which meant that int32 and int64 literals couldn't just be copy-pasted into, e.g., utop.

The fix simply forwards the calls to QCheck.Print.int{32,64}, thereby solving this in one central place.
These were furthermore some of the only remaining exceptions to type combinators not relying on QCheck.Print,
thus restoring OCD world order... 🤓

QCheck.Print.int{32,64} were added in 0.24 - but we already have 0.25 as a lower bound, so all should be well.

@jmid

jmid commented Jun 25, 2025

Copy link
Copy Markdown
Collaborator Author

Note: The Util int{32,64} pp-functions used by most STM show_cmd functions already prints the suffixes.
Hence the patch has an impact mostly on Lin tests and STM combinator-annotated results.

CI summary: all 50 workflows passed

@jmid jmid merged commit f898839 into main Jun 25, 2025
50 checks passed
@jmid jmid deleted the fix-int64-print branch June 25, 2025 21:28
@jmid

jmid commented Jun 26, 2025

Copy link
Copy Markdown
Collaborator Author

CI summary for merge to main: all 51 workflows passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant